package com.his.dictresource.dao;

import com.his.dictresource.entity.DictResourceItem;
import com.his.dictresource.entity.DictResourceItems;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictResourceItemMapper {
    /**
     * 排班项目查询
     * @param resourceid
     * @return
     */
    List<DictResourceItems> rsitem_list (String resourceid,String hospid);

    /**
     * 新增排班项目
     * @param dictResourceItem
     */
    void rsitem_add(DictResourceItem dictResourceItem);

    /**
     * 删除排班项目
     * @param itemId
     */
    void rsitem_del(String itemId,String resourceTypeId);

}
